package JDK8.ChangeOne;

/**
 * Created by wangyg 
 * on 2017/6/6 19:27
 */
public interface Formula {
	public static final int INIT_VALUE = 0xabcde;

	public abstract double calculate(int a) throws Exception;

	default int getInitValue() {
		return INIT_VALUE;
	}
}
